#version 330 core

layout (location = 0) in vec3 iv3_pos;
layout (location = 1) in vec3 iv3_color;
layout (location = 2) in vec2 iv2_texcoord;

out vec3 v3_color;
out vec2 v2_texcoord;

void main()
{
    gl_Position = vec4(iv3_pos.x, iv3_pos.y, iv3_pos.z, 1.0);
    v3_color = iv3_color;
    v2_texcoord = iv2_texcoord;
}